package com.vf.admin.miaodong.service.impl;

import com.vf.admin.common.splitpage.SplitPageBean;
import com.vf.admin.miaodong.dao.AfterMountsDao;
import com.vf.admin.miaodong.entity.AppMounts;
import com.vf.admin.miaodong.service.AfterMountsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
/**
 * 坐骑
 */
@Service
public class AfterAmountsServiceImpl implements AfterMountsService {
    @Autowired
    private AfterMountsDao appMountsDao;

    /**
     * 列表
     * @return
     */
    @Override
    public List<AppMounts> findList(Map<String, Object> paraMap, SplitPageBean splitPage) {
        return appMountsDao.findList(paraMap, splitPage);
    }

    /**
     * 详情
     */
    @Override
    public AppMounts get(Integer id) {
        return appMountsDao.get(id);
    }

    /**
     * 添加/修改
     */
    @Override
    public void save(AppMounts haoYou) {
        appMountsDao.save(haoYou);
    }

    /**
     * 删除
     */
    @Override
    public void del(Integer id) {
        appMountsDao.del(id);
    }


}
